.widget-form-item-group {
  @import "~@/assets/styles/_var.scss";
  @import "~@/assets/styles/_theme.scss";

  $dragItemHeight: 2.625rem; // 42px

  .flow-preview {
    height: 5rem; // 80px
    width: 100%;
    background-color: $bgColorSecondary;
    padding: 0.5rem 1rem; // 8px 16px
    margin-bottom: 0.5rem; // 8px
    overflow-x: hidden;
    overflow-y: auto;
  }

  .sequence-item-bar {
    display: flex;
    padding: 0 0.5rem; // 8px
    height: $dragItemHeight;

    &:hover {
      background-color: $bgColorSecondary;
    }

    .label {
      line-height: $dragItemHeight;
      width: 4.375rem; // 70px
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
      margin-right: 0.5rem; // 8px
    }

    .content {
      flex: 1;
      display: flex;
      align-items: center;
      margin-right: 0.5rem; // 8px
    }

    .append {
      width: 2.625rem; // 42px
      display: flex;
      justify-content: flex-end;

      .append-item {
        &.drag-item {
          cursor: move;
        }
      }
    }
  }

  .opt-bar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
  }
}
